package com.tanhua.dubbo.server.pojo;


import com.tanhua.dubbo.server.enums.AccountrState;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;


/**
 * 冻结表
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "state_frozen")
public class Frozen implements java.io.Serializable {


    //创建字段
    private static final long serialVersionUID = 3148619072405447899L;

    private ObjectId id;
    private Long userId;     //冻结的账号id
    private Integer freezingTime; //冻结时间
    private Integer freezingRange;  //冻结范围
    private String reasonsForFreezing;  //冻结原因
    private String frozenRemarks;   //冻结的备注
    private Long created;//创建冻结的时间
    private String Cause; //解冻原因
    private Integer frozenState; //状态

}
